<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <%@include file="/common/common.jspf" %>
    <script type="text/javascript" src="${ctx}/js/sys/content/add.js">
    </script>
    <style type="text/css">
        .col-sm-3 {
            width: 15%;
            float: left;
            text-align: right;
        }

        .col-sm-9 {
            width: 85%;
            float: left;
            text-align: left;
        }

        label[class^="btn btn-default"] {
            margin-top: -4px;
        }
    </style>
</head>
<body>
<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
<form id="form" name="form" class="form-horizontal" method="post" action="${ctx}/sys/content/addEntity.shtml">
    <section class="panel panel-default">
        <div class="panel-body">
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">类别</label>
                </div>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入类别" name="sysContentFormMap.category" value="默认">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">标题</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入标题" name="sysContentFormMap.title" style="width: 60%;">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">显示顺序</label>
                </div>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入显示顺序" name="sysContentFormMap.display_order" value="0">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">内容</label>
                </div>
                <div class="col-sm-9">
                    <textarea class="form-control" name="sysContentFormMap.body" style="width: 60%;" rows="4"></textarea>
                </div>
            </div>
            <div class="line line-dashed line-lg pull-in"></div>

            <div class="form-group">
                <label class="col-sm-3 control-label">文本1</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入文本1" name="sysContentFormMap.str1" style="width: 60%;">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">文本2</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入文本1" name="sysContentFormMap.str2" style="width: 60%;">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">文本3</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入文本1" name="sysContentFormMap.str3" style="width: 60%;">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">文本4</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入文本1" name="sysContentFormMap.str4" style="width: 60%;">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">文本5</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入文本1" name="sysContentFormMap.str5" style="width: 60%;">
                </div>
            </div>
            <div class="line line-dashed line-lg pull-in"></div>

            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">多行文本1</label>
                </div>
                <div class="col-sm-9">
                    <textarea class="form-control" name="sysContentFormMap.mstr1" style="width: 60%;" rows="4"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">多行文本2</label>
                </div>
                <div class="col-sm-9">
                    <textarea class="form-control" name="sysContentFormMap.mstr2" style="width: 60%;" rows="4"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">多行文本3</label>
                </div>
                <div class="col-sm-9">
                    <textarea class="form-control" name="sysContentFormMap.mstr3" style="width: 60%;" rows="4"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">多行文本4</label>
                </div>
                <div class="col-sm-9">
                    <textarea class="form-control" name="sysContentFormMap.mstr4" style="width: 60%;" rows="4"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">多行文本5</label>
                </div>
                <div class="col-sm-9">
                    <textarea class="form-control" name="sysContentFormMap.mstr5" style="width: 60%;" rows="4"></textarea>
                </div>
            </div>
            <div class="line line-dashed line-lg pull-in"></div>

            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">图片1</label>
                </div>
                <div class="col-sm-9">
                    <input type="file" class="form-control system-upload-field" data-for="sysContentFormMap.pic1" placeholder="请选择图片" name="pic1file" style="width: 60%;">
                    <input type="hidden" name="sysContentFormMap.pic1">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">图片2</label>
                </div>
                <div class="col-sm-9">
                    <input type="file" class="form-control system-upload-field" data-for="sysContentFormMap.pic2" placeholder="请选择图片" name="pic2file" style="width: 60%;">
                    <input type="hidden" name="sysContentFormMap.pic2">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">图片3</label>
                </div>
                <div class="col-sm-9">
                    <input type="file" class="form-control system-upload-field" data-for="sysContentFormMap.pic3" placeholder="请选择图片" name="pic3file" style="width: 60%;">
                    <input type="hidden" name="sysContentFormMap.pic3">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">图片4</label>
                </div>
                <div class="col-sm-9">
                    <input type="file" class="form-control system-upload-field" data-for="sysContentFormMap.pic4" placeholder="请选择图片" name="pic4file" style="width: 60%;">
                    <input type="hidden" name="sysContentFormMap.pic4">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">图片5</label>
                </div>
                <div class="col-sm-9">
                    <input type="file" class="form-control system-upload-field" data-for="sysContentFormMap.pic5" placeholder="请选择图片" name="pic5file" style="width: 60%;">
                    <input type="hidden" name="sysContentFormMap.pic5">
                </div>
            </div>
        </div>
        <footer class="panel-footer text-right bg-light lter">
            <button type="submit" class="btn btn-success btn-s-xs">提交</button>
        </footer>
    </section>
</form>
</body>
</html>
